

<div class="modal-header">
	<a class="close" data-dismiss="modal">&times;</a>
	<h5>Transfer No:<font color="#227bdd"><?php echo $transfer_details->transfer_no;?></font></h5>
	<h5>Source Branch: <font color="#227bdd"><?php echo $transfer_details->source_branch_name;?></font></h5>
	<h5>Destination Branch:<font color="#227bdd"><?php echo $transfer_details->destination_branch_name;?> </font></h5>
	<h5>Date:<font color="#227bdd"><?php echo $transfer_details->date;?> </font></h5>
</div>
<div class="modal-body">

<table class="table table-striped table-bordered" width="100%" id="example">
	<thead>

    <tr>
		<th>Product Name</th>
        <th>Product Code</th>
		<th> Required Quantity</th>
		<th>Transfer Quantity</th>
		<th>Balance Quantity</th>
	</tr>
		<?php $count=1;?>
	<?php foreach($detail as $details){?>
	<tr>
	<td><?php echo $details->name;?> </td>
	<td><?php echo $details->code;?> </td>
	<td><?php echo $details->quantity;?>	</td>
    <td style="color:#227bdd;"><?php echo $details->received_quantity;?></td>
	<td style="color:red;"><?php echo intval($details->quantity)-intval($details->received_quantity);?></td>
	 

	</tr><input type="hidden" value="<?php echo $count;?>" id="count_id"/>
	<?php $count=$count+1;?>
	<?php } ?>
    </thead>
	
</table>


</div>
<div class="modal-footer">
	<a class="btn btn-primary" data-dismiss="modal">Close</a>

</div>